package cn.acac.yygh.cmn.service;

import cn.acac.yygh.model.cmn.Dict;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface DictService extends IService<Dict> {
    List<Dict> findChildData(Long pid);

    boolean hasChildren(Long pid);

    void updateExcel(MultipartFile file) throws IOException;

    String findNameByValue(String value);

    String findNameByValue(String dictCode, String value);
}
